package com.dk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_cities")
public class TbCities {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    @TableField(value = "cityid")
    private String cityId;

    @TableField(value = "city")
    private String city;

    @TableField(value = "provinceid")
    private String provinceId;

    public TbCities() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public TbCities(Long id, String cityId, String city, String provinceId) {
        this.id = id;
        this.cityId = cityId;
        this.city = city;
        this.provinceId = provinceId;
    }
}
